package com.feifan.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Donald
 * @create 2019-03-21 23:26
 */

@Getter
@Setter
@ToString
@TableName(value = "content")
@JsonIgnoreProperties(ignoreUnknown = true)
public class ContentDTO implements Serializable {
        private static final long serialVersionUID = -6608677072837630514L;
        @TableId(type = IdType.AUTO)
        private Long id;
        private String theme;
        private Date createTime;
        private Date modifyTime;
        private Date approveTime;
        private Integer status;
        private String model;
        private Long authorId;
        private String author;
        private String approver;
        private Long approverId;
        private Integer likes;
        private Integer reads;
        private String discuss;
        private String content;
        private String likesWhos;
        private String likesIds;
        private String readsWhos;
        private String readsIds;
        private Integer collects;
        private String collectIds;
}




